def unicode2chinese(unicode_number):
    if type(unicode_number)  == type("AVC"):
        print("1111111")
        return unicode_number.encode("latin-1").decode("unicode-escape")
    elif isinstance(unicode_number, bytes):
        return unicode_number.decode("unicode-escape")
def decimal2hex(number):
   return hex(number)[2:]
def hex2unicode(hex_number_string):
   return '\\u' + hex_number_string




str='bea9415050303033'
nes=''
print(hex(ord('京')))
print(hex(48809))
print(hex(48809)-hex(ord('京')) )

for i in range(0,len(str),2) :
    if i<3 and i==0:
        print( int('0x' + str[0:4], 16))
        int_value =int('0x' + str[0:4], 16)
        number = int_value
        print(chr(int_value))
        hex_number_string = decimal2hex(number)
        unicode_number = hex2unicode(hex_number_string)
        print(unicode_number,type(unicode_number))
        chinese = unicode2chinese(unicode_number)
        print(chinese)


    elif i<3:
        pass
    else:
        print(chr( int('0x'+str[i:i+2],16) ) )


print( type(nes) ,nes )